package com.spzx.order.domain.vo;

import cn.hutool.core.lang.UUID;
import com.spzx.order.domain.OrderItem;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
@Schema(description = "结算订单数据模型")
public class TradeVO {
    private BigDecimal totalAmount;
    private List<OrderItem> orderItemList;
    private String tradeNo = UUID.fastUUID().toString();
}